package com.yunji.order.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author : peter-zhu
 * @date : 2025/3/26 13:20
 * @description : TODO
 **/
@Data
public class RefundDetailDTO {
    @ApiModelProperty("订单明细id")
    @NotNull(message = "订单明细id不能为空")
    private Long orderDetailId;

    @Max(100)
    @Min(1)
    @ApiModelProperty("商品数量")
    @NotNull(message = "商品数量不能为空")
    private Integer productNums;
}
